<template>
  <div class="contact-page">
    <!-- 顶部导航 -->
    <BaseHeader :navs="navs" :activeNav="activeNav" @nav-change="activeNav = $event" />
    <!-- 背景 -->
    <div class="contact-bg">
      <div class="contact-content">
        <h2 class="contact-title">联系方式</h2>
        <div class="contact-cards">
          <div class="contact-card">
            <div class="card-value">客服电话</div>
            <div class="card-label">400-111-9811</div>
          </div>
          <div class="contact-card">
            <div class="card-value">邮箱</div>
            <div class="card-label">uj@uliguj.com（售后、建议、投诉、投递、合作）</div>
          </div>
          <div class="contact-card">
            <div class="card-desc">其他事宜请与相关业务的对接人联系，或拨打客服电话（400-111-9811）</div>
          </div>
        </div>
        <div class="info-block">
          <div class="info-title">【希赛网总部】</div>
          <div class="info-detail">
            公司名称：深圳市希赛网络科技有限公司<br />
            联系地址：深圳市南山区粤海街道高新区中山园路1001号 信息安全产业园A1座<br />
            联系方式：400-111-9811
          </div>
        </div>
        <div class="info-block">
          <div class="info-title">【希赛网华南运营中心】</div>
          <div class="info-detail">
            公司名称：希赛网（广州）网络科技有限公司<br />
            联系地址：广州市天河区天河智慧城新代E-Park5栋7楼（展厅）
          </div>
        </div>
      </div>
    </div>
    <!-- 底部 -->
    <BaseFooter />
    <!-- 右侧悬浮 -->
    <RightContact />
  </div>
</template>

<script>
import BaseHeader from '@/components/baseHeader.vue';
import BaseFooter from '@/components/baseFooter.vue';
import RightContact from '@/components/rightContact.vue';
export default {
  name: 'LianxiFangshi',
  components: { BaseHeader, BaseFooter, RightContact },
  data() {
    return {
      navs: ['首页', '新闻', '题库', '资料', '职业技能'],
      activeNav: '',
    };
  },
};
</script>

<style scoped>
.contact-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #5a8fff 0%, #e6f0ff 100%);
  display: flex;
  flex-direction: column;
}
.contact-bg {
  background: linear-gradient(180deg, #5a8fff 0%, #e6f0ff 100%);
  padding: 60px 0 80px 0;
}
.contact-content {
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(90,143,255,0.08);
  padding: 40px 32px 32px 32px;
}
.contact-title {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 32px;
}
.contact-cards {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
}
.contact-card {
  flex: 1;
  border-radius: 8px;
  padding: 20px 18px 16px 18px;
  min-width: 180px;
  padding: 16px 20px;
  box-shadow: 4px 4px 12px 0px rgba(55,115,242,0.04);
  border-radius: 8px;
  border: 1px solid #E5E6EB;
  text-align:left;
}
.card-label {
  color: #888;
  font-size: 15px;
  margin-bottom: 8px;
}
.card-value {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}
.card-desc {
  font-size: 13px;
  color: #888;
  margin-top: 2px;
}
.info-block {
  padding: 18px 20px 12px 20px;
  margin-bottom: 18px;
  order-radius: 8px;
  padding: 16px 20px;
  box-shadow: 4px 4px 12px 0px rgba(55,115,242,0.04);
  border-radius: 8px;
  border: 1px solid #E5E6EB;
  text-align:left;
}
.info-title {
  font-weight: 600;
  font-size: 16px;
  color: #222;
  margin-bottom: 8px;
}
.info-detail {
  font-size: 14px;
  color: #444;
  line-height: 1.8;
}
@media (max-width: 900px) {
  .contact-content {
    padding: 20px 8px 16px 8px;
  }
  .contact-cards {
    flex-direction: column;
    gap: 12px;
  }
}
</style>
